/* css初始化 */
@charset "utf-8";

* {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

html {
    height: 100%;
}

body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* 字体图标 */
@font-face {
    font-family: 'iconfont';
    src: url('../iconfont/iconfont.eot');
    src: url('../iconfont/iconfont.eot?#iefix') format('embedded-opentype'),
        url('../iconfont/iconfont.woff2') format('woff2'),
        url('../iconfont/iconfont.woff') format('woff'),
        url('../iconfont/iconfont.ttf') format('truetype'),
        url('../iconfont/iconfont.svg#iconfont') format('svg');
  }

  .iconfont {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }


/* 变量 */
$w:10.8rem;


/*头部css开始*/
header {
    width: $w;
    height: 2.3rem;
    // background-color: red;

    >.seach {
        width: 10.08rem;
        height: 1.1rem;
        background-color: #eee;
        margin-left: 0.38rem;
        border-radius: 0.05rem;

        >input {
            width: 5.16rem;
            height: 1.1rem;
            padding-left: 4rem;
            float: left;
            border: 0;
            font-size: 0.3rem;
            background-color: #eee;
            border-radius: 0.05rem;
            outline: none;
        }

        >span {
            float: right;
            font-size: 0.5rem;
            margin-top: 0.2rem;
            margin-right: 0.2rem;
        }
    }

    >.nav {
        width: $w;
        height: 1.26rem;
        overflow: hidden;
        >ul {
            width: 20rem;
            height: 1.26rem;
            display: flex;
            justify-content: space-around;
            align-items: center;
            >li {
                width: 1rem;
                height: 1rem;
                line-height: 1rem;
                font-size: 0.4rem;
                margin: 0 0.3rem;
            }
            >.header-nav-active{
                color: red;
                border-bottom: 0.03rem solid red;
            }
        }
    }
}
/*头部css结束*/

/*内容css开始*/
main {
    width: $w;
    height: 100%;
    flex: 1;
    overflow: hidden;
    background-color: #eee;
    >.wrap{
        width: $w;
        min-height: 101%;
        >.banner{
            width: $w;
            height: 4.05rem;
            img{
                width: 100%;
                height: 100%;
            }
        }
        >.bannerNav{
            width: $w;
            height: 4.2rem;
            background-color: #fff;
            ul{
                width: $w;
                height: 4.2rem;
                display: flex;
                flex-wrap: wrap;
                li{
                    width: 20%;
                    text-align: center;
                    >img{
                        width: 1.25rem;
                        height: 1.1rem;
                        margin-top: 0.05rem;
                    }
                    >p{
                        font-size: 0.28rem;
                    }
                }
            }
        }
        >.butie{
            width: $w;
            height: 1rem;
            background: #fff;
            display: flex;
            align-items: center;
            margin-top: 0.22rem;
            >img{
                width: 0.5rem;
                height: 0.55rem;
                margin-left: 0.48rem;
            }
            >h2{
                font-size: 0.4rem;
                margin-left: 0.24rem;
            }
            >p:nth-of-type(1){
                font-size: 0.32rem;
                color: #aaa;
            }
            >span{
                font-size: 0.4rem;
                color: #aaa;
                margin: 0 0.22rem;
            }
            >p:nth-of-type(2){
                font-size: 0.34rem;
                color: #aaa;
                margin-left: 3.8rem;
            }
        }
        >.shangping{
            width: $w;
            height: 3.55rem;
            background-color: #fff;
            >ul{
                width: $w;
                height: 3.55rem;
                display: flex;
                >li{
                    width: 25%;
                    text-align: center;
                    >img{
                        width: 2.25rem;
                        height: 2.52rem;
                    }
                    >p{
                        font-size: 0.28rem;
                        color: red;
                    }
                }
            }
        }
        >.images{
            width: $w;
            height: 3.15rem;
            margin-top: 0.25rem;
            background-color: #fff;
            >img{
                width: 100%;
                height: 100%;
            }
        }
        >.content{
            width: $w;
            height: 4.6rem;
            background-color: #fff;
            display: flex;
            margin-top: 0.2rem;
            >.left{
                width: 4.3rem;
                height: 4.3rem;
                margin-left: 0.32rem;
                margin-top: 0.1rem;
                >img{
                    width: 100%;
                    height: 100%;
                }
            }
            >.right{
                width: 6.18rem;
                height: 4.6rem;
                box-sizing: border-box;
                padding: 0.1rem;
                >p:nth-of-type(1){
                    font-size: 0.36rem;
                    margin-bottom: 0.15rem;
                }
                >p:nth-of-type(2){
                    font-size: 0.3rem;
                    color: #aaa;
                    margin-bottom: 1.45rem;
                }
                >p:nth-of-type(3){
                    font-size: 0.3rem;
                    margin-bottom: 0.3rem;
                    >span:nth-of-type(1){
                        color: red;
                    }
                    >span:nth-of-type(2){
                        color:orange;
                        margin-left: 0.2rem;
                    }
                }
                >p:nth-of-type(4){
                    font-size: 0.3rem;
                   >span{
                       font-size: 0.4rem;
                       color: red;
                   }
                }
            }
        }
    }
}
/*内容css结束*/

/*尾部css开始*/
footer {
    width: $w;
    height: 1.85rem;
    background-color: #fff;
    >ul{
        width: $w;
        display: flex;
        align-items: center;
        justify-content: space-around;
        >li{
            width: 20%;
            height: 1.85rem;
            text-align: center;
            >span.iconfont {
                font-size: 0.6rem;
            }
            >p{
                font-size: 0.3rem;
            }
        }
    }
}
/*尾部css结束*/


/*小圆点优化*/
#one{
    text-align: right;
    padding-right: 0.42rem;
    box-sizing: border-box;
    .swiper-pagination-bullet{
        height: 0.2rem;
        width: 0.2rem;
        background: #fff;
        opacity: 10;
    }
    .swiper-pagination-bullet-active{
        background: red;
    }
}
#two{
    bottom: -0.15rem;
    --swiper-pagination-color:red;
    .swiper-pagination-bullet{
        width: 1.06rem;
        height: 0.1rem;
        border-radius: 0.5rem;

    }
    .swiper-pagination-bullet-active{
        background-color: red;
    }
}
#bannerNav>.swiper-pagination-bullets .swiper-pagination-bullet{
    margin: 0;
}
